# root CMakeLists.txt
cmake_minimum_required(VERSION 2.6)

# On command line type "cmake --help-policy CMP0012"
# to see details about this policy.
cmake_policy(SET CMP0012 NEW)

#Project name
project(IEGEN)

#Add a 'docs' target to build documentation
add_custom_target(docs COMMAND doxygen doc/doxyconfig)

#Tell cmake to look in Modules for custom modules
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/Modules)

#Recurse into the src directory
add_subdirectory(src)
